<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use App\Model;
use Faker\Generator as Faker;

$factory->define(\App\Models\Shop\GoodsClass::class, function (Faker $faker) {
    return [
        'icon' => $faker->imageUrl(),
        'parent_id' => 0,
        'name' => $faker->title(4),
        'sort' => rand(1,99)
    ];
});
